﻿<Window x:Class="Locker.WelcomeForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Locker" Height="450" Width="356.775" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" WindowStyle="ToolWindow">
    <StackPanel Margin="10">
        <TextBlock HorizontalAlignment="Stretch" Text="Welcome to Locker" FontSize="20" TextAlignment="Center" Margin="10"/>
        <TextBlock HorizontalAlignment="Stretch" Text="This is the first time you are using this app" FontSize="12" Margin="0,0,0,5" />
        <TextBlock HorizontalAlignment="Stretch" Text="Please Configure Account." FontSize="15" />

        <Label Content="UserName / Email (min 4 chars): " Margin="10,10,5,5" FontSize="13" />
        <TextBox HorizontalAlignment="Stretch" Margin="15,0,20,5" Height="26" MaxLength="30" Name="txtUserName" VerticalContentAlignment="Stretch"/>

        <Label Content="Password (min 6 chars): " Margin="10,10,5,5" FontSize="13"/>
        <PasswordBox  HorizontalAlignment="Stretch" Margin="15,0,20,5" Height="26" 
                      MaxLength="30" VerticalContentAlignment="Stretch" PasswordChar="*" Name="txtPassword" />

        <Label Content="Confirm Password :" Margin="10,10,5,5" FontSize="13"/>
        <PasswordBox  HorizontalAlignment="Stretch" Margin="15,0,20,5" Height="26" 
                      MaxLength="30" VerticalContentAlignment="Stretch" PasswordChar="*" Name="txtConfirmPassword" />
        
        <Label Name="lblErrorMsg" Content="" Foreground="Red" Margin="10,0,5,5" Visibility="Collapsed" FontSize="14" />
        <Button Content="Create Account" Margin="200,20,20,0" Height="30" x:Name="CreateAccount" Click="CreateAccount_Click"  />
    </StackPanel>
</Window>
